Tween containers conform to the following syntax:
[(TweenContainerFormat)] = [(SingleTweenFormat)] |
[(SequencedTweenFormat)]
[(SingleTweenFormat)] =
[(TweenEntryAtoms)]
<kTweenEntry>, (anyUniqueIDs), (1..numInterpolators)
[(TweenEntryAtoms)]
[(SequencedTweenFormat)] =
kTweenSequenceElement, (anyUniqueIDs), (1..numSequenceElements)
[TweenSequenceEntryRecord] = {endPercent, tweenAtomID, dataAtomID}
kTweenEntry, (anyUniqueIDs), (1..numSequenceElements + numInterpolators)
[(TweenEntryAtoms)]
[(TweenEntryAtoms)] =
kTweenType, 1, 1
[OSType] = the type of tween
<kTweenStartOffset>, 1, 1
[TimeValue] = starting offset
<kTweenDuration>, 1, 1
[TimeValue] = duration
<kTweenOutputMinValue>, 1, 1
[Fixed] = minimum output value
<kTweenOutputMaxValue>, 1, 1
[Fixed] = maximum output value
<kTweenFlags>, 1, 1
[long] = flags
kTweenData, (anyUniqueIDs), (1..numDataAtoms)
// contents dependent on kTweenType, could be leaf data or nested atoms
<kTweenInterpolationID>, (a kTweenData ID), (1.. numInterpolationIDAtoms)
[QTAtomID] = the id of a kTweenEntry (child of [(TweenContainerFormat)]
describing the tween to be used to interpolate time values.
Important
QTAtomContainer
-based data structures are being widely used in QuickTime. For more information about this syntax and these data structures, see
Appendix D
. This appendix provides you with a standardized format that describes how these data structures may be expressed and how they are currently documented.
| Previous | Chapter Contents | Chapter Top | Next |